#ifndef _NETGLOBAL_H_
#define _NETGLOBAL_H_

#include "netfwd.h"

#pragma once

class NetGlobal
{
public:
    static NetConnectionPool & conn_pool();

    static NetReactor & net_reactor();

    static NetStatistic & net_statistic();

    static DiskManager & get_diskmanager();
private:
    NetGlobal();
    ~NetGlobal() throw();

private:
    static NetConnectionPool m_conn_pool;
    static NetReactor        m_reactor;
    static NetStatistic      m_statistic;
    static DiskManager       m_diskmanager;
};


#endif // _NETGLOBAL_H_

